## Document Creation Information
SPDXVersion: SPDX-2.3
DataLicense: CC0-1.0
SPDXID: SPDXRef-DOCUMENT
DocumentName: ${documentName}
DocumentNamespace: ${documentNamespace}
Creator: Person: ${user}
Creator: Organization: ${userGroup}
Creator: Tool: sbom-generate-tool-1.0
Created: ${created}
DocumentComment: <text>基于SPDX-2.3生成</text>

## Package Information
<#list packages as package>
PackageName: ${package.name}
SPDXID: ${package.id}
PackageVersion: ${package.version}
PackageFileName: ${package.fileName}
PackageSupplier: NOASSERTION
PackageOriginator: NOASSERTION
PackageDownloadLocation: ${package.downloadLocation}
FilesAnalyzed: false
PackageVerificationCode: NONE
PackageChecksum: ${package.checksum}
PackageHomePage: ${package.homePage}
PackageSourceInfo: <text>${package.sourceInfo}</text>
PackageLicenseConcluded: ${package.licenseConcluded}
PackageLicenseInfoFromFiles: NONE
PackageLicenseDeclared: ${package.licenseDeclared}
PackageLicenseComments: <text>NONE</text>
PackageCopyrightText: <text>NOASSERTION</text>
PackageSummary: <text>${package.summary}</text>
PackageDescription: <text>${package.description}</text>
PackageComment: <text>NOASSERTION</text>
ExternalRef: PACKAGE-MANAGER purl pkg:${package.externalRef}
ExternalRefComment: <text>NOASSERTION</text>
PackageAttributionText: <text>NOASSERTION</text>
PrimaryPackagePurpose: LIBRARY
ReleaseDate: ${package.releaseDate}
BuiltDate: NOASSERTION
ValidUntilDate: NOASSERTION

</#list>

## Relationship between SPDX Elements Information
<#list relationships as relationship>
Relationship: ${relationship.id} DEPENDENCY_OF ${relationship.parentId}
</#list>